package com.tjb.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @GetMapping(value = "/test")
    public String testGetInfo(int id){
        return "hello world," + id;
    }
    @GetMapping(value = "/test/getString")
    public String testPr(String name){
        System.out.println(name);
        return "hello world," + name;
    }

}
